<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            text-decoration: none;
            color: black;
            
            padding: 20px;
        }
        .pagin .active{
            color: white;
            background-color: brown;
        }
        .pagin a:hover:not(.active){
            background-color: rgb(77, 81, 81);
        }
    </style>
</head>
<body>
    <div class="pagin">
    <a href="#">&lt;&lt;</a>
    <a href="#">1</a>
    <a  class="active" href="#">2</a>
    <a href="#">3</a>
    <a href="#">4</a>
    <a href="#">5</a>
    <a href="#">&gt;&gt;</a>
    </div>
    
</body>
</html>